# -*- coding: UTF-8 -*-

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time


if __name__ == '__main__':
    chromp=webdriver.Chrome();
    chromp.get("file:///D://aut//python100//Day48//selenium.html")
    time.sleep(5)
    chromp.find_element_by_name("username").send_keys("rabbit")
    chromp.find_element_by_name("password").send_keys("love")
    chromp.find_element_by_id("sub").send_keys(Keys.ENTER)


